This function gets a container and returns a random value from it.
It may not receive any weight, so, it will be normally distributed (I expect)
If it receives less weights than it has values, the last value will contain a weight equals
to 1 - sum(weights)
The weights must sum up to 1.0
This function gets a container and returns a random value from it. It may not receive any weight, so, it will be normally distributed (I expect) If it receives less weights than it has values, the last value will contain a weight equals to 1 - sum(weights) The weights must sum up to 1.0